package com.newasia.management.converter;


import com.newasia.management.dal.homepage.entitys.PanelNav;
import com.newasia.management.dal.homepage.entitys.PanelNavUrl;
import com.newasia.management.dto.HomepageNav.NavDto;
import com.newasia.management.dto.HomepageNavItem.NavItemDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface HomePageNavConverter {

    List<NavDto> item2dto(List<PanelNav> panelContents);


    List<NavItemDto> navitem2dto(List<PanelNavUrl> panelNavUrls);
}
